package erp.education.server.db.entites.finance;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

@Entity
@Table(name = "fin_feeheads")
public class FeeHeads implements Serializable {

	@Id
	@TableGenerator(name = "feeheads_gen", table = "seq_keys", allocationSize = 1)
	@GeneratedValue(strategy = GenerationType.TABLE, generator = "feeheads_gen")
	@Column(name = "code")
	private Long feeCode;
	@Column(name = "feename", unique = true, nullable = false)
	private String feeName;
	@Column(name = "feetype", nullable = false)
	private String feeType;
	@Column(name = "feeGroupId", nullable = false)
	private Long feeGroupId;
	@Column(name = "refundable", nullable = false)
	private String feeRefundable;
	@Column(name = "taxexempted", nullable = false)
	private String taxExempted;

	public String getFeeName() {
		return feeName;
	}

	public void setFeeName(String feeName) {
		this.feeName = feeName;
	}

	public String getFeeType() {
		return feeType;
	}

	public void setFeeType(String feeType) {
		this.feeType = feeType;
	}

	public Long getFeeGroupId() {
		return feeGroupId;
	}

	public void setFeeGroupId(Long feeGroupId) {
		this.feeGroupId = feeGroupId;
	}

	public String getFeeRefundable() {
		return feeRefundable;
	}

	public void setFeeRefundable(String feeRefundable) {
		this.feeRefundable = feeRefundable;
	}

	public String getTaxExempted() {
		return taxExempted;
	}

	public void setTaxExempted(String taxExempted) {
		this.taxExempted = taxExempted;
	}

	public Long getFeeCode() {
		return feeCode;
	}

}
